<?php /* Smarty version Smarty-3.1.8, created on 2014-06-24 15:30:17
         compiled from "C:\wamp\www\framework\layout\dux\template.tpl" */ ?>
<?php /*%%SmartyHeaderCode:2170353a9998913dbf1-59144111%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '77166553b302977418942e397aae08f84b55cb22' => 
    array (
      0 => 'C:\\wamp\\www\\framework\\layout\\dux\\template.tpl',
      1 => 1403616919,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2170353a9998913dbf1-59144111',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'titulo' => 0,
    '_layoutParams' => 0,
    'js' => 0,
    '_user' => 0,
    'it' => 0,
    '_item_style' => 0,
    '_error' => 0,
    '_warning' => 0,
    '_message' => 0,
    '_susess' => 0,
    '_contenido' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_53a99989659a42_59912968',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_53a99989659a42_59912968')) {function content_53a99989659a42_59912968($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title><?php echo (($tmp = @$_smarty_tpl->tpl_vars['titulo']->value)===null||$tmp==='' ? "Sin titulo" : $tmp);?>
</title>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
        <link href="<?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['ruta_css'];?>
estilos.css" rel="stylesheet" type="text/css" />
    
        <?php if (isset($_smarty_tpl->tpl_vars['_layoutParams']->value['js'])&&count($_smarty_tpl->tpl_vars['_layoutParams']->value['js'])){?>
        <?php  $_smarty_tpl->tpl_vars['js'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['js']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['_layoutParams']->value['js']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['js']->key => $_smarty_tpl->tpl_vars['js']->value){
$_smarty_tpl->tpl_vars['js']->_loop = true;
?>
        
            <script src="<?php echo $_smarty_tpl->tpl_vars['js']->value;?>
" type="text/javascript"></script>
        
        <?php } ?>
        <?php }?>
    </head>

    <body>
        <div id="main">
            <div id="header">
                <div id="logo">
                    <h1><?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['configs']['app_name'];?>
</h1>
                </div>
                <?php if (isset($_smarty_tpl->tpl_vars['_user']->value)){?>
                    <div id="user">Bienvenido <?php echo $_smarty_tpl->tpl_vars['_user']->value['nombre'];?>
 <?php echo $_smarty_tpl->tpl_vars['_user']->value['apellidos'];?>
</div>
                <?php }?>
                <div id="menu">
                    <div id="top_menu">
                        <ul>
                        <?php if (isset($_smarty_tpl->tpl_vars['_layoutParams']->value['menu'])){?>
                            <?php  $_smarty_tpl->tpl_vars['it'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['it']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['_layoutParams']->value['menu']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['it']->key => $_smarty_tpl->tpl_vars['it']->value){
$_smarty_tpl->tpl_vars['it']->_loop = true;
?>
                            
                            <?php if (isset($_smarty_tpl->tpl_vars['_layoutParams']->value['item'])&&$_smarty_tpl->tpl_vars['_layoutParams']->value['item']==$_smarty_tpl->tpl_vars['it']->value['id']){?>
                                <?php $_smarty_tpl->tpl_vars["_item_style"] = new Smarty_variable('current', null, 0);?>
                            <?php }else{ ?>
                            
                                <?php $_smarty_tpl->tpl_vars["_item_style"] = new Smarty_variable('', null, 0);?>
                                
                            <?php }?>
                            
                            <li><a class="<?php echo $_smarty_tpl->tpl_vars['_item_style']->value;?>
" href="<?php echo $_smarty_tpl->tpl_vars['it']->value['enlace'];?>
"><?php echo $_smarty_tpl->tpl_vars['it']->value['titulo'];?>
</a></li>
    
                            <?php } ?>
                        <?php }?>
                        </ul>
                    </div>
                </div>
            </div>

            <div id="content">
                <noscript><p>Para el correcto funcionamiento debe tener el soporte de javascript habilitado</p></noscript>
                <div id="alerts">
                    <?php if (isset($_smarty_tpl->tpl_vars['_error']->value)){?>
                    <div id="error">Error :: <?php echo $_smarty_tpl->tpl_vars['_error']->value;?>
</div>
                    <?php }?>
                    
                    <?php if (isset($_smarty_tpl->tpl_vars['_warning']->value)){?>
                    <div id="warning">Advertencia :: <?php echo $_smarty_tpl->tpl_vars['_warning']->value;?>
</div>
                    <?php }?>
    
                    <?php if (isset($_smarty_tpl->tpl_vars['_message']->value)){?>
                    <div id="message">Exito :: <?php echo $_smarty_tpl->tpl_vars['_message']->value;?>
</div>
                    <?php }?>
                    
                    <?php if (isset($_smarty_tpl->tpl_vars['_susess']->value)){?>
                    <div id="susess"><?php echo $_smarty_tpl->tpl_vars['_susess']->value;?>
</div>
                    <?php }?>
                </div>
                <div class="window">
                    <?php echo $_smarty_tpl->getSubTemplate ($_smarty_tpl->tpl_vars['_contenido']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

                </div>
                
            </div>

            <div id="footer">
                Copyright &copy; 2014 <a href="http://www.fimex.com.mx" target="_blank"><?php echo $_smarty_tpl->tpl_vars['_layoutParams']->value['configs']['app_company'];?>
</a>
            </div>
        </div>
    </body>
</html><?php }} ?>